package com.gxa.mapper.community;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.dto.communitydto.UserApplyDto;
import com.gxa.dto.communitydto.UserApplySearchDto;
import com.gxa.entity.community.UserApply;
import com.gxa.entity.community.UserList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Mapper
public interface UserApplyMapper extends BaseMapper<UserApply> {
    List<UserApply> queryAll(UserApplySearchDto userApplySearchDto);

    void insertToUserList(UserList userList);

    void insertApplyUser(UserApply userApply);

    //审核通过
    void updateState(@Param("id") Integer id);
}
